package com.ganzi.ganziserver.dao;

import com.ganzi.ganziserver.core.CollectInformation;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.math.BigInteger;
import java.sql.Timestamp;
import java.util.List;

@Repository
public interface CollectInformationDao {

    public List<CollectInformation> findCollectInformationByFanId(@Param("fanid") long fanid, @Param("beforTime") long beforTime,@Param("size") int size)throws Exception;
    public List<CollectInformation> findAllCollectInformation(@Param("afterTime")Timestamp afterTime,@Param("beforTime") Timestamp beforTime)throws Exception;
    public void insertCollectInformation(CollectInformation info)throws Exception;
    public void deleteCollectInformation(long id)throws Exception;
}
